/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0A1534;
  --brown:   #964B00;
  --brown-d: #7a3d00;
  --gold:    #D4AF37;
  --cream:   #F5F5EB;
  --white:   #ffffff;
  --text:    #1a1a1a;
  --muted:   #6b6b6b;
  --border:  rgba(10,21,52,0.10);
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  background-color: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

p { margin: 0 !important; }

/* Safe positional context */
.navbar, .nav-item, .nav-link, .contact-page-header,
.contact-info-panel, .info-panel-inner, .form-panel-inner,
.lex-form-group, .lex-select-wrapper, .info-item,
.Footer, .FooterContent1 a { position: relative; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed !important;
  width: 100vw; top: 0; left: 0;
  z-index: 1000;
  background-color: rgba(245,245,231,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  padding: 8px 0;
}

.navbar.scrolled { background-color: rgba(245,245,231,0.97); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }

.navbar-brand img { height: 50px; width: auto; transition: transform 0.3s ease; }
.navbar-brand:hover img { transform: scale(1.05); }
.navbar-nav { align-items: center; }
.nav-item { margin-left: 18px; }

.nav-link {
  font-size: 16px; 
  color: #1a1a1a !important;
  padding: 8px 16px !important;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 5px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background-color: var(--brown);
  transition: width 0.3s ease;
}

.nav-link:hover::after { width: 80%; }
.nav-link:hover { color: var(--brown) !important; background-color: rgba(150,75,0,0.08); }

.nav-link.active {
  color: var(--brown) !important; font-weight: 600;
  background: linear-gradient(135deg, rgba(150,75,0,0.14) 0%, rgba(150,75,0,0.07) 100%);
  box-shadow: inset 0 -3px 0 0 var(--brown);
}

.contact-btn {
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-d) 100%) !important;
  color: white !important; padding: 10px 24px !important;
  border-radius: 999px; font-weight: 600;
  margin-left: 10px !important;
  box-shadow: 0 4px 12px rgba(150,75,0,0.28);
  transition: all 0.3s ease;
}
.contact-btn::after { display: none !important; }
.contact-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(150,75,0,0.38); color: white !important; }

.navbar-toggle {
  display: none; flex-direction: column;
  justify-content: space-around;
  width: 35px; height: 28px;
  border: none; background: none;
  cursor: pointer; z-index: 1001; padding: 0;
}
.navbar-toggle .bar { background-color: #1a1a1a; height: 3px; width: 100%; border-radius: 3px; transition: all 0.3s ease; }
.navbar-toggle.active .bar:nth-child(1) { transform: rotate(45deg) translate(8px,8px); }
.navbar-toggle.active .bar:nth-child(2) { opacity: 0; }
.navbar-toggle.active .bar:nth-child(3) { transform: rotate(-45deg) translate(8px,-8px); }

@media screen and (max-width: 1024px) {
  .navbar-toggle { display: flex !important; }
  .navbar-collapse {
    position: fixed; top: 70px; left: -100%;
    width: 100%; height: calc(100vh - 70px);
    background-color: rgba(245,245,231,0.98);
    backdrop-filter: blur(10px);
    transition: left 0.4s ease;
    overflow-y: auto; padding: 22px 0; display: block !important;
  }
  .navbar-collapse.show { left: 0 !important; }
  .navbar-nav { flex-direction: column; width: 100%; padding: 0 18px; display: flex !important; }
  .nav-item { width: 100%; margin-left: 0 !important; margin-bottom: 10px; display: block !important; }
  .nav-link { width: 100%; text-align: center; padding: 14px 18px !important; font-size: 18px; border-radius: 14px; display: block !important; }
  .nav-link::after { display: none !important; }
  .nav-link.active { box-shadow: none; border-left: 4px solid var(--brown); }
  .contact-btn { margin-left: 0 !important; margin-top: 8px; width: 100%; }
}

@media screen and (min-width: 1025px) {
  .navbar-toggle { display: none !important; }
  .navbar-collapse { display: flex !important; position: static !important; width: auto !important; height: auto !important; background: none !important; padding: 0 !important; }
  .navbar-nav { flex-direction: row !important; display: flex !important; }
  .nav-item { display: inline-block !important; }
}

@media screen and (max-width: 768px) {
  .navbar-brand img { height: 40px; }
  .navbar { padding: 6px 0; }
  .navbar-collapse { top: 60px; height: calc(100vh - 60px); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.navbar-collapse.show .nav-item { animation: fadeInDown 0.4s ease forwards; opacity: 0; }
.navbar-collapse.show .nav-item:nth-child(1) { animation-delay: 0.1s; }
.navbar-collapse.show .nav-item:nth-child(2) { animation-delay: 0.15s; }
.navbar-collapse.show .nav-item:nth-child(3) { animation-delay: 0.2s; }
.navbar-collapse.show .nav-item:nth-child(4) { animation-delay: 0.25s; }
.navbar-collapse.show .nav-item:nth-child(5) { animation-delay: 0.3s; }

/* =============================================
   PAGE HEADER
   ============================================= */
.contact-page-header {
  margin-top: 70px;
  padding: 70px 20px 60px;
  background: linear-gradient(135deg, var(--navy) 0%, #1a2f5a 100%);
  text-align: center; overflow: hidden;
}
.contact-page-header::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(212,175,55,0.12) 0%, transparent 55%),
              radial-gradient(ellipse at 20% 80%, rgba(150,75,0,0.12) 0%, transparent 50%);
  pointer-events: none;
}
.contact-page-header-inner { position: relative; z-index: 1; }

.contact-eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 3px;
  color: var(--gold);
  border: 1px solid rgba(212,175,55,0.38);
  padding: 5px 16px; border-radius: 999px; margin-bottom: 18px;
}
.contact-page-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; font-weight: 800;
  color: var(--white); margin-bottom: 14px;
}
.contact-page-subtitle {
  font-size: 1.1rem; color: rgba(255,255,255,0.82);
  font-weight: 300; line-height: 1.75;
}

/* =============================================
   MAIN SECTION
   ============================================= */
.contact-section { padding: 60px 0 80px; background: var(--cream); }

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 26px; align-items: start;
}

/* ── Info Panel ── */
.contact-info-panel { position: sticky !important; top: 95px; }

.info-panel-inner {
  background: linear-gradient(145deg, var(--navy) 0%, #162040 100%);
  border-radius: 20px; padding: 40px 32px;
  box-shadow: 0 14px 50px rgba(10,21,52,0.22); overflow: hidden;
}
.info-panel-inner::before {
  content: ''; position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(150,75,0,0.08); pointer-events: none;
}
.info-panel-title { font-family: 'Playfair Display', serif; font-size: 1.85rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.info-panel-desc { font-size: 0.98rem; color: rgba(255,255,255,0.72); line-height: 1.75; font-weight: 300; }
.info-divider { height: 1px; background: rgba(255,255,255,0.12); margin: 24px 0; }
.info-items { display: flex; flex-direction: column; gap: 16px; }

.info-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border-radius: 14px; border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.25s ease, transform 0.25s ease;
}
.info-item:hover { background: rgba(255,255,255,0.09); transform: translateX(4px); }

.info-item-icon {
  width: 42px; height: 42px; flex: 0 0 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-d) 100%);
  display: grid; place-items: center;
  color: white; font-size: 1rem;
  box-shadow: 0 8px 18px rgba(150,75,0,0.28);
}
.info-item-body { display: flex; flex-direction: column; gap: 3px; }
.info-item-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }
.info-item-value { font-size: 0.96rem; font-weight: 500; color: rgba(255,255,255,0.92); text-decoration: none; line-height: 1.45; transition: color 0.2s; }
.info-item-value:hover { color: var(--gold); }
.info-item-hint { font-size: 0.78rem; color: rgba(255,255,255,0.42); font-style: italic; }

.info-quote {
  margin-top: 24px; padding: 16px 18px;
  border-left: 3px solid var(--gold);
  background: rgba(212,175,55,0.07);
  border-radius: 0 12px 12px 0;
  display: flex; align-items: flex-start; gap: 12px;
}
.info-quote-icon { color: var(--gold); font-size: 1.2rem; flex: 0 0 auto; margin-top: 2px; }
.info-quote p { font-size: 0.92rem !important; color: rgba(255,255,255,0.7); font-style: italic; line-height: 1.6; }

/* ── Form Panel ── */
.form-panel-inner {
  background: var(--white); border-radius: 20px;
  padding: 44px 40px;
  box-shadow: 0 12px 45px rgba(10,21,52,0.09);
  border: 1px solid var(--border);
}
.form-panel-title { font-family: 'Playfair Display', serif; font-size: 1.85rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.form-panel-desc { font-size: 0.97rem; color: var(--muted); margin-bottom: 28px !important; }

.lex-form-group { margin-bottom: 22px; }

.lex-label {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--navy); margin-bottom: 8px; letter-spacing: 0.3px;
}
.lex-label i { color: var(--brown); font-size: 0.82rem; }

.lex-input {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid rgba(10,21,52,0.14);
  border-radius: 12px;
  font-size: 0.97rem; font-family: 'Poppins', sans-serif;
  color: var(--text); background: #fafaf7;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  outline: none; appearance: none; -webkit-appearance: none;
}
.lex-input::placeholder { color: #aaa; font-weight: 300; }
.lex-input:hover { border-color: rgba(150,75,0,0.32); background: #fff; }
.lex-input:focus { border-color: var(--brown); background: #fff; box-shadow: 0 0 0 4px rgba(150,75,0,0.10); }

/* Input error state */
.lex-input.lex-input-error {
  border-color: #dc2626 !important; background: rgba(220,38,38,0.04) !important;
  box-shadow: 0 0 0 4px rgba(220,38,38,0.10) !important;
  animation: shake 0.4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-6px); }
  40%       { transform: translateX(6px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(4px); }
}

.lex-textarea { resize: vertical; min-height: 130px; line-height: 1.6; }

/* =============================================
   CUSTOM SELECT DROPDOWN — no browser default
   ============================================= */
.lex-select-wrapper { position: relative !important; }

.lex-select-trigger {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  border: 1.5px solid rgba(10,21,52,0.14);
  border-radius: 12px; background: #fafaf7;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  outline: none;
}
.lex-select-trigger:hover { border-color: rgba(150,75,0,0.32); background: #fff; }
.lex-select-trigger.active { border-color: var(--brown); background: #fff; box-shadow: 0 0 0 4px rgba(150,75,0,0.10); }
.lex-select-trigger.lex-select-error {
  border-color: #dc2626 !important; background: rgba(220,38,38,0.04) !important;
  box-shadow: 0 0 0 4px rgba(220,38,38,0.10) !important;
  animation: shake 0.4s ease;
}

.lex-select-value {
  font-size: 0.97rem; color: #aaa; font-weight: 300;
  font-family: 'Poppins', sans-serif; transition: color 0.2s;
}
.lex-select-value.selected { color: var(--text); font-weight: 500; }

.lex-select-arrow {
  color: var(--brown); font-size: 0.82rem;
  transition: transform 0.25s ease; flex: 0 0 auto;
}
.lex-select-arrow.rotated { transform: rotate(180deg); }

/* Dropdown list */
.lex-select-dropdown {
  position: absolute !important;
  top: calc(100% + 6px); left: 0; right: 0;
  background: #fff;
  border: 1.5px solid rgba(150,75,0,0.18);
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(10,21,52,0.14);
  list-style: none; padding: 6px; margin: 0;
  z-index: 500;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  overflow: hidden;
}
.lex-select-dropdown.open {
  opacity: 1; visibility: visible; transform: translateY(0);
}

.lex-select-option {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 10px;
  font-size: 0.96rem; font-family: 'Poppins', sans-serif;
  color: var(--text); cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
  user-select: none;
}
.lex-select-option i {
  color: var(--brown); font-size: 0.9rem;
  width: 18px; text-align: center; flex: 0 0 18px;
}
.lex-select-option span { flex: 1; }
.lex-select-option:hover { background: rgba(150,75,0,0.07); color: var(--brown); }
.lex-select-option:hover i { color: var(--brown-d); }

.lex-select-option.selected { background: rgba(150,75,0,0.10); color: var(--brown); font-weight: 600; }
.lex-select-option.selected::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free'; font-weight: 900;
  color: var(--brown); font-size: 0.78rem; margin-left: auto;
}

/* ── Submit button ── */
.lex-submit-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px 30px;
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-d) 100%);
  color: white; font-size: 1rem; font-weight: 650;
  font-family: 'Poppins', sans-serif;
  border: none; border-radius: 14px; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 22px rgba(150,75,0,0.28); margin-top: 4px;
}
.lex-submit-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(150,75,0,0.36); }
.lex-submit-btn:active:not(:disabled) { transform: translateY(0); }
.lex-submit-btn:disabled { opacity: 0.75; cursor: not-allowed; }

/* Alerts */
.lex-alert {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 16px; border-radius: 12px;
  font-size: 0.95rem; font-weight: 500;
  animation: fadeSlideIn 0.4s ease;
}
.lex-alert-success { background: rgba(22,163,74,0.10); border: 1px solid rgba(22,163,74,0.25); color: #15803d; }
.lex-alert-error   { background: rgba(220,38,38,0.09); border: 1px solid rgba(220,38,38,0.22); color: #b91c1c; }

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =============================================
   FOOTER
   ============================================= */
.Footer { background-color: #352513; color: white; padding: 3.5rem !important; }
.Footer h2 { font-weight: 600; padding-bottom: 20px; border-bottom: dotted #fff 1px; margin-bottom: 30px; }
.FooterContent1 h4 { font-size: 18px; font-weight: 600; margin-bottom: 14px; }
.FooterContent1 p { color: #cfcfcf; font-size: 14px; line-height: 1.7; }
.FooterContent1 a { color: #d8d8d8; text-decoration: none; font-size: 14px; display: inline-block; margin-bottom: 8px; transition: color 0.3s ease; }
.FooterContent1 a::before { content: ''; position: absolute; width: 100%; height: 1px; background-color: #b9e6ff; bottom: 0; left: 0; transform-origin: right; transform: scaleX(0); transition: transform 0.3s ease-in-out; }
.FooterContent1 a:hover::before { transform-origin: left; transform: scaleX(1); }
.FooterContent1 a:hover { color: #fff; }
.Phone, .Gmail, .Location { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
@media (max-width: 768px) { .Footer { padding: 2rem 1.5rem !important; } .Footer h2 { font-size: 20px; } }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .contact-wrapper { grid-template-columns: 1fr; }
  .contact-info-panel { position: static !important; }
  .info-items { flex-direction: row; flex-wrap: wrap; }
  .info-item { flex: 1 1 200px; }
}
@media (max-width: 768px) {
  .contact-page-header { padding: 55px 18px 44px; }
  .contact-page-title { font-size: 2.1rem; }
  .form-panel-inner { padding: 30px 22px; }
  .info-panel-inner { padding: 28px 22px; }
  .info-items { flex-direction: column; }
  .info-item { flex: 1 1 auto; }
}


/* ================= FOOTER ================= */

.Footer {
  background-color: #352513;   /* darker elegant brown */
  color: #ffffff;
  padding: 4rem 2rem;
}

/* Heading Section */
.Footer h2 {
  font-weight: 600;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 20px;
  margin-bottom: 40px;
}

/* Column Headings */
.Footer h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
}

/* Paragraph Text */
.Footer p {
  font-size: 14px;
  line-height: 1.7;
  color: #cfcfcf;
}

/* Links */
.Footer a {
  color: #d8d8d8;
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.Footer a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

/* Icon Alignment */
.Footer svg {
  margin-right: 8px;
  vertical-align: middle;
}

.Phone,
.Gmail,
.Location {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

/* Bottom Section */
.FooterBottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #bfbfbf;
}

/* Responsive */
@media (max-width: 768px) {
  .Footer {
    padding: 2.5rem 1.5rem;
    text-align: left;
  }

  .Footer h2 {
    font-size: 22px;
  }
}

